package com.yunji.order.bo;

import com.yunji.common.base.IModifyStatusBaseBO;
import lombok.Data;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/12/17 17:49
 * @description : TODO
 **/
@Data
public class OrderModifyStatusBO implements IModifyStatusBaseBO<Long> {
    private Long orderId;
    private Integer newStatus;
    private List<Integer> oldStatus;

    public OrderModifyStatusBO(Long orderId, Integer newStatus, List<Integer> oldStatus) {
        this.newStatus = newStatus;
        this.oldStatus = oldStatus;
        this.orderId = orderId;
    }

    @Override
    public Long getId() {
        return getOrderId();
    }
}
